.subtabcontent.active{
  display: block;
}

.subtab,
.tab,
.tab2 {
  background-color: #f1f1f1;
}

.subtab,
.tab,
.tab2{
  border: 1px solid #000;
}

.subtab,
.subtab button {
  justify-content: center;
}

.subtab,
.tab,
.tab2 {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.subtab {
  display: flex;
}

.subtab button,
.tab button,
.tab2 button {
  background-color: inherit;
  border: 1px solid #000;
  cursor: pointer;
  padding: 25px;
  transition: 0.3s;
  display: block;
}

.tab button {
  float: left;
  width: 16.66%;
}

.tab2 button {
  float: left;
  font-size: 25px;
  width: 49.9%;
}

.subtab button {
  font-size: 30px;
  font-family: Mario256;
  width: 50%;
}

.subtab button:hover,
.tab button:hover,
.tab2 button:hover {
  background-color: #ff0;
}

.subtab button.active,
.tablinks.active {
  background-color: grey;
  pointer-events: none;
}

.subtabcontent,
.tabcontent {
  display: none;
  margin-top: 40px;
}

.subtabcontent {
  border: 3px solid;
  border-radius: 30px;
  margin: 15px 40px 20px;
  overflow: auto;
}

#tab1 {
  border-color: #ff0;
}
#tab2 {
  border-color: green;
}

.subtab button .tab2,
.tab button {
  padding: 30px;
  font-size: 22px;
}